package com.miao.UserClass;

import org.springframework.context.annotation.Condition;
import org.springframework.context.annotation.ConditionContext;
import org.springframework.core.type.AnnotatedTypeMetadata;


public class MyCondition1 implements Condition {


    /**
    * Description:
    *
     * ConditionContext: 上下文环境
     * AnnotatedTypeMetadata：标注了Conditional的类信息
    */
    @Override
    public boolean matches(ConditionContext context, AnnotatedTypeMetadata metadata) {

        return true;
    }
}
